import request from '@/utils/request'

// 查询行业资讯列表
export function listIndustryInformation(query) {
  return request({
    url: '/IndustryInformation/industryInformation/list',
    method: 'get',
    params: query
  })
}

// 查询行业资讯详细
export function getIndustryInformation(id) {
  return request({
    url: '/IndustryInformation/industryInformation/' + id,
    method: 'get'
  })
}

// 新增行业资讯
export function addIndustryInformation(data) {
  return request({
    url: '/IndustryInformation/industryInformation',
    method: 'post',
    data: data
  })
}

// 修改行业资讯
export function updateIndustryInformation(data) {
  return request({
    url: '/IndustryInformation/industryInformation',
    method: 'put',
    data: data
  })
}

// 删除行业资讯
export function delIndustryInformation(id) {
  return request({
    url: '/IndustryInformation/industryInformation/' + id,
    method: 'delete'
  })
}
